import { _decorator, Component, Node, tween, Vec3 } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('BulletNet')
export class BulletNet extends Component {
    start() {

    }

    onOpenNet(){
        tween(this.node).to(0.25, { scale: Vec3.ONE }, { easing: 'sineIn' })
            .call(() => {
                this.scheduleOnce(() => {
                    this.node.removeFromParent();
                }, 0.3)

            }).start();
    }
}


